package com.richest.api.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.richest.api.dao.MerchantAnnouncementMapper;
import com.richest.api.service.IMerchantAnnouncementService;
import com.richest.bean.MerchantAnnouncementBean;

/**
 * 企业公告信息管理服务实现
 * 
 * @author 杨博
 * @version richest-api 2.0
 */
@Service
public class MerchantAnnouncementServiceImpl implements IMerchantAnnouncementService {

	@Autowired
	private MerchantAnnouncementMapper mapper;

	@Override
	public Integer merchantAnnouncementUpdate(MerchantAnnouncementBean bean) {
		return mapper.merchantAnnouncementUpdate(bean);
	}

	@Override
	public MerchantAnnouncementBean merchantAnnouncementSelectOne(Long id) {
		return mapper.merchantAnnouncementSelectOne(id);
	}

}
